import fetch from '@/utils/request'

export function getCouponRevRateData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getCouponRevRateData',
    method: 'post',
    data: obj
  })
}

export function getCouponUseRateData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getCouponUseRateData',
    method: 'post',
    data: obj
  })
}

export function getCouponSceneRateData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getCouponSceneRateData',
    method: 'post',
    data: obj
  })
}

export function getIntegralRevRateData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getIntegralRevRateData',
    method: 'post',
    data: obj
  })
}

export function getIntegralUseRateData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getIntegralUseRateData',
    method: 'post',
    data: obj
  })
}

export function getIntegralSceneRateData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getIntegralSceneRateData',
    method: 'post',
    data: obj
  })
}

export function getAmountProportionData(obj) {
  return fetch({
    url: '/api/adminBiz/marActivities/getAmountProportionData',
    method: 'post',
    data: obj
  })
}
